#include "mainwindow.h"
#include "ui_mainwindow.h"

MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);
    //
    tabWidget=new QTabWidget(this);
    tabWidget->setGeometry(QRect(30,30,340,140));
    tabWidget->addScrollBarWidget(new tabA(),Qt::Horizontal);


}

MainWindow::~MainWindow()
{
    delete ui;
}
